package org.ali.creationalpattern.abstractfactorypattern.factory;

import org.ali.creationalpattern.abstractfactorypattern.color.Color;
import org.ali.creationalpattern.abstractfactorypattern.shape.Shape;

public interface Factory {
    /**
     * 获取颜色
     */
    Color getColor(String str);

    /**
     * 获取形状
     */
    Shape getShape(String str);
}
